package demo3;

public class Family extends FX {
    private double price;
    private double area;
    private double money;
    public Family(double price, double area) {
        this.price = price;
        this.area = area;
    }
    @Override
    public double add() {

        return money;

    }
}
